package com.mysterymall.Model.Dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 登录
 * @ClassName com.mysterymall.Model.dto
 * @Description
 * @Author HuangWX
 * @Time 2023/11/04  00:04
 */
@Data
public class LoginDto {

    @NotEmpty(message = "Akaun tidak boleh kosong")
    private String userName;

    @NotEmpty(message = "Katalaluan tidak boleh kosong")
    private String password;


    private String invitationCode;

    private String code;
}
